Updating checksum code