update UI follow by docs comments