updating how id is fetched