add item id to links