update system cost variables