Implements total order cost update functionality