update the last figure