Code cleanup

Remove the older version of the sync function

Signed-off-by: Blake Skinner <bskinner@mit.edu>