Update plotting data