fixed the error that was not allowing update of validations