add basic ref into index