updated the ui