update scripts and RData