update component demo