examples: Update to validator 0.21 (#3854)