update for the ui