Add Changes to databases
Add Changes to databases (reverted from commit a8177e78fc1ccdcb3ada71a0a07e8c2b1aaebf57)
Uses two databases.