Syncing Core Data with sample API