update database settings