update ui drawer
优化逻辑