save device configuration