updated  the ui