update to api ref