fixed updating existing file ownership