update database selector after adding/dropping databases