Update database setting