Update END_MEM
Clean Up