updating component