fix bug where update of local rows did not work