update bandwidth calculation