edit valdiation