finish core data change