update the figure since the references number change