updating settings generic class