$key = $this->getListInstance()->getIterator()->key();
// Get the hash from key
- $hash = $this->getListInstance()->getHash($key);
+ $hash = $this->getListInstance()->getHashByIndex($key);
// Update the entry
$this->getListInstance()->updateCurrentEntryByHash($hash, $taskEntry);