update some bugs