update work with rows