edit database setting