updated settings controller