Updated delete rake task