Added upsert task