updated the ui.r and server.r files