code: public Optional<Application> update(Application application)
      {
          return HTTP.PUT(String.format("/v2/applications/%d.json", application.getId()), application, APPLICATION);
      }
docs: Updates the given application.
  @param application The application to update
  @return The application that was updated