update specs to survey api