update api ref.