added before_save callback
with prevAttr