updated ui.r and readme.md