Add changes to db