Add component to index