Update databse selection method