fix(api): use new express syntax for apis