add callbacks for obSubscribe