switch order
update the graphs