rake task for updating resources