Updated for last device and some model work
fixed if statement
Update route for root