changes in backend offer controller to update a payment table