Updated sample code reference for patch endpoints

@alexey-rise please review.

Thanks!