update adding a param writing method for ex_2d_indexer