set up sync event for todos collection