Fix bugs in IPv6 update routine.