update ui as docs comment