@arif: I am afraid the only way to sort out your problem is to fix the root cause. You need to do your customization in a way suggested by Frappe (see Switch frappe from 7.2.30 to 7.2.19 - #13 by arif), and not in a way you actually did it. Then you will not be dependent on any specific version of Frappe/ERP Next, and bench update actions will not break the experience on your servers.
The problem is the core ERP Next files of Accounting modules (that you modified directly) may have been changed or affected by Frappe team’s changes. This leads to the version conflict and update errors.