lock updateAction and save metadta after new file sync created

SUP-2591 #time 5h