updated ui view and added rich text editor