Update plotting script