updating metadata for local_file res