Handle updating component too.