update device config