Update preprocess.R