Sequence of customized field changes, and quotation print template return to default after every upgrade

I find, every upgrade of erpnext, makes sequence of fields i added in customize form changed,

and the quotation print format i added become default (same effect i never customized),but i find customized code is till here .

and customized series prefix, also changs to default after every system upgrade.

Please, any way to stop these kind changes after system upgrade?