Update the index when we update some files