updating routes
Cleaning code