Update index_sources to take an origin