update to the ui