To edit the smart object, double-click on its icon in the layers panel then press Ok on the instruction that will pop up. Edit the object in the new window that is opened. When you are finished editing go to File then
Save. You can then go back to the original document and you will see the changes there. Some edits can be done without this method, but if you want to edit a text that is a smart object, this is the method to use.