update figures