Defect - 59272 : modified update method to set the headers correctly for
empty Payload and for non-empty payload map.