fixed multiple save bug in UpdateMixin