added updateItemUrl function and example
added handling for items in folders