updated inventory api
URLS fixed