updated views for devices and emps