add database to commit