updated sync example with table record editing