update for change in original api