add component and thumbnail