Small changes in routes api