updating validation