Add function purge criteria in project module