updates for device and other stuffs