Fix refactoring issue that causes no item update.