Updating figure