model changes

+ route for devicebyid