save instance settings