Update to SWORD sync code