update database setting