Changed the item update to now work, added some comments