How can i update order after response from the EBS payment gateway site...???

I want to update payment transaction,payment id and all that in Order table....
Please Help me...

Thank You.