You don't even need to refresh the db to tell the user that the db was updated after their commit. You just need to implement an optimistic offline lock. In other words, just version the tables in your database and check that the user's updated data is being made on the latest version of the row when sending the new data. If version=48 and the server has version=49, you send them back to window and tell them to refresh.