Updating file refs