add auto generate route