Subroutine to update a node's bandwidth balance