updated plotting