update ui fix some bug