supoprt for validations on save and on update