fixed validation on update item