update graphs and R programs