updating file reference