Updating checkpoint file