update ui by comment