updating orders and rates