updated use of superagent to new format