Lets say i have many headings of heading 4. I modified that heading but some text with heading 4 in my document didnt get modified. why?
The heading has been direct formatted. Select the heading entire and click Format - Clear direct formatting or press Ctrl+M
Direct formatting overrides styles and can cause unexpected results as you have discovered