modifiy models and routes