update UI by comments in doc