Changes remap_purge to update the purge state immediately

(cherry picked from commit ab94cf8efbadabd485db9bc6116818e539715db8)
1 file changed