reset fields on update attributes