Is it possible to export an orgmode table not to a new file but overwriting the org table in the same buffer?

Context is editing source code which contains a largeish table of (say) constants.
Editing is done with orgtbl minor mode.
When done it should become back the table in the natural format of the programming language
[For simplicity lets just say csv will do]