Implement update core data api