change reference rename to reflect new api