update various stuff