what if i edit the elgg core and then update it ?

what if i edit the elgg core  and then update it ? will it be crash ?

i use 1.12.x and maybe i will update it to latest 1.12.13 version