update ui controller