simplifying row entity update logic