Adds upsert op to the cli