Update database settings