correctly update live plot palette