track core data change