updated arduino code to reflect new sync functionality