safe memory release, core update