Adding custom validation functionality to the UpdateHandler Class