update figures for data