Update device config