updating settings