update method requirements in routing to match templates