changed update for save so that validation rules are applied