update global settings