Cascading refactoring of update(ID id, T entity)