update route params to take different types