updating view controller code so that the new api features are disabled for now