settings updating in code

Not reading external settings yet