update the path of corpus