Update item functionality