Update getItem() example