update ui and app