update UI,add select dataBases,fix some bugs