Update api spec.