update file ref