Update sync script