code: def patch(self, measurementId):
          
          data = request.get_json()
          if data is not None:
              logger.debug('Received payload for ' + measurementId + ' - ' + str(data))
              if self._measurementController.editMeasurement(measurementId, data):
                  return None, 200
              else:
                  logger.warning('Unable to edit payload ' + measurementId)
                  return None, 404
          else:
              logger.error('Invalid data payload received ' + measurementId)
              return None, 400
docs: Patches the metadata associated with the new measurement, if this impacts the measurement length then a new 
          measurement is created otherwise it just updates it in place.
          :param measurementId: 
          :return: