validation class update