db: save updates to changes dict

Add updates to log