update ajax validation

update ajax validation