@Override
        public void executeAsync() {
          QBEvent event = new QBEvent();
          event.setId(1454326);
          event.setActive(true); // send it again

          QBEvent updatedEvent = null;
          try {
            updatedEvent = QBPushNotifications.updateEvent(event);
          } catch (QBResponseException e) {
            setException(e);
          }
          if (updatedEvent != null) {
            Log.i(TAG, ">>> Event: " + updatedEvent.toString());
          }
        }
        @Override
        public void execute() {
          QBEvent event = new QBEvent();
          event.setId(1470629);
          event.setActive(true); // send it again

          QBPushNotifications.updateEvent(
              event,
              new QBEntityCallback<QBEvent>() {

                @Override
                public void onSuccess(QBEvent qbEvent, Bundle args) {
                  Log.i(TAG, ">>> event: " + qbEvent.toString());
                }

                @Override
                public void onError(QBResponseException errors) {
                  handleErrors(errors);
                }
              });
        }