updated rake task to reindex