update user/controller/device models and api