New: avoid selection of the record on each update.
TODO: same functionality for datastores other then mysql.