Add gpa purge feature
Add gpa purging functionality in mustache template