update with jsonapi example