change endpoint param names