Update the database settings