lock updateAction and save metadta after new file sync created

SUP-2591 #time 5h
Merge pull request #1607 from kaltura/IX-9.19.1-SUP-2591

lock updateAction and save metadta after new file sync created