added primary key for NSManagedObject to perform uniqie objects checking on updating data from server