updating settings controller