- Updated getItem() method