Tweak api routes