updates before doing some real work