updated model/controller/routes