validator class and agent form update