Add auto update to component.