update for stroke indexing