update base vars