updating all R files