Fix undefined $item in AutoUpdate
Merge pull request #16 from addshore/fixUndefinedItemAutoUpdate

Fix undefined $item in AutoUpdate