-> update the index programmatically ->