updates to new oauth api