add edit action to agentpayment controller