updating database settings