Update device permissions