fixes to the previous commit. set default values for UpdateFromFlag arguments.