Corrected usage of updateBlock and updateNeighbours