Adjust the database