Update global function style