code: public Optional<Script> updateScript(String monitorId, Script script)
      {
          HTTP.PUT(String.format("/v3/monitors/%s/script", monitorId), script);
          return Optional.of(script);
      }
docs: Updates the given monitor to add a script.
  @param monitorId The id of the monitor to update
  @param script The script to add
  @return The monitor that was updated