update some ui