update local variables in config