update Ui controller