Inserting new version of database.