sync tasks when adding