update various values