lock only requested rows on update