adjust the database