Fixed a typo preventing updating of latest block