Update cub.