update ui resource