Updating item bug fixed

Fixed a bug where updated items were not getting a type.