Update method improved in db api

Model is fetched from db in a separate session after update.
It is important to reload an entry, so that is has a correct updated_at
column.

Change-Id: Ia19139dd66ff0e3d412d13505d568545694e4ea7
Merge "Update method improved in db api"