If you just replaced bytes, then you're fine, disregard this. If you see your file size has changed after you edited it, then this applies to you.
Step 1: Changing the pointers. Go find the text string EDNID. There you'll see 5 pairs of bytes that aren't 0's. Should be from offset 0xC8 to 0xD9.
Step 2: Now if you added bytes to your files, these pointers should be incorrect. Why does it matter if it's incorrect? Well you'll lose some stuff like inventory and units so yeah. To remedy this problem you want to to find these text strings: TOPS, TINU, NART, IFER, and ILER. The first pair of bytes is the pointer to TOPS, second pair of bytes is the pointer to TINU, third pair of bytes is the pointer to NART, fourth pair of bytes is the pointer to IFER, and the fifth pair of bytes is the pointer to ILER. as shown in the picture as a reference.
Step 3: Copy the offset of the first letter of the text string and reverse it. So let's say it's located on offset 0x6887. You would just reverse it. The new offset would be 0x8768 which we will just remember.
Step 4: Now replace the bytes from step 1, the pointers, with the new offsets that we just reversed. So now I'm replacing 0x4367 by 0x8768. And to double check if it points correctly, just reverse the value and go to that offset.
Step 5: That's about it. Just apply the same step to the other pointers.