Api route modification