Update config, math from develop.