fix issue #27 PATCH loses the data payload