demo for setting endpoint data with http patch