added support for removing unchanged attributes on update