update activate index