change the purge timer API