Update to the current state of the database