Update a figure