Update sync.rb