updating routes and handleers
init models