update system preferences script