Fix core data update API