updates routing and removes junk folder