cleanup before implementing updating of persisted objects via PATCH http requests