I may be wrong, but as far as I can see, any code snippet i add for add_action on hivepress/v1/models/listing/update is executed immediately when the listing form is opened.
How to execute the code only when the actually listing is submited/edited (after button click)?