Refactoring - delete old hashes