Changed logic to check updated date rather than created date.