getting updates before doing logging