update rake task that reindexes resources