update figure 3 in latex version of the paper