Cornerstone & modifications

Hello I did some modifications on my website by changing the code.
However, after I do some modifications with Cornerstone, and the changes I did by myself in the code diseappared.
How can I do modifications with saving on the both ?

Thanks

Hi There,

Please provide a more detailed description of the process you took.

What modifications you did and where.

Thank you