added continuation parameter updating code to another file...