updates for new api version.