code: function update (client) {
    return function update (pushApp) {
      const req = {
        url: `${client.baseUrl}/rest/applications/${pushApp.pushApplicationID}`,
        body: pushApp,
        method: 'PUT'
      };
  
      return request(client, req)
        .then((response) => {
          if (response.resp.statusCode !== 204) {
            return Promise.reject(response.body);
          }
  
          return Promise.resolve(response.body);
        });
    };
  }
docs: A function to update an existing Push Application
  @param {object} pushApp - The JSON representation of the push application to update.  pushApp.pushApplicationID and pushApp.name is required. ATM, it looks like the only fields that are updatable are name and description
  @returns {Promise} A promise that resolves with No Content
  @example
  adminClient(baseUrl, settings)
  .then((client) => {
  client.applications.update(pushApplication)
  .then(() => {
  console.log('success')
  })
  })