Add reindex function
Updated dist