update index of m's work