refactored purge request