refactored batch routes for dynamic action param