fixed issue where file info was not updated