appending database to last commit