updates all figures