update ad type ggplot app