Added basic task sync functionality