update the reference figure