Auto :  generation of index ,  update of index