Linux String Substitute Task Failed!

I have been asked to Replace all occurrences of the string ‘Text’ to ‘Architecture’ on the XML file /root/nautilus.xml.

Can anyone please tell me what is wrong with the below command?

sed -i ‘s/Text/Architecture/gI’ nautilus.xml (I was already inside /root directory)

The extra option I used was ‘I’ to match all cases of word ‘Text’. Is there anything wrong in this?

@mehra.siddarth9, the pattern flag “I” is to ignore case.
In the XML file the word ‘text’ also replaced with ‘Architecture’. Hope it explains.

Thanks for the feedback. I got it now.