updating with a figure