EEPROM and GSM Module Help !

I'm exploring the EEPROM of arduino on how to change data using serial , and text it to phone number ,
In my code i have a default string that will text in my phone number , i want to change that default string in Serial of the arduino , but when i power up again the arduino the default string or text is still sending in my number . This is my code

 #include <SoftwareSerial.h>
#include <EEPROM.h>


String x = "myString";
SoftwareSerial mySerial(9, 10);

void setup()
{

  mySerial.begin(9600);   // Setting the baud rate of GSM Module  
  Serial.begin(9600);    // Setting the baud rate of Serial Monitor (Arduino)

   for(int i=0; i<x.length(); i++){
  EEPROM.write(i, x[i]);

}

reads();

  delay(5000);
  SendMessage();
}


void loop()
{
 x="";
  while(Serial.available() > 0){
  x = Serial.readString();
  x.substring(x.indexOf("\n"));
  x.replace("\n","");
  Serial.println(x);


  }
  
 for(int i=0; i<x.length(); i++){
  EEPROM.update(i, x[i]);
 }

 if (mySerial.available()>0)
   Serial.write(mySerial.read());
}


 void SendMessage()
{
  mySerial.println("AT+CMGF=1");    //Sets the GSM Module in Text Mode
  delay(1000);  // Delay of 1000 milli seconds or 1 second
  mySerial.println("AT+CMGS=\"+639290584072\"\r"); // Replace x with mobile number
  delay(1000);
  mySerial.println(x);// The SMS text you want to send
  delay(100);
   mySerial.println((char)26);// ASCII code of CTRL+Z
  delay(1000);
}


void reads(){
  for(int i=0; i<x.length(); i++){
  byte z = EEPROM.read(i);
 
char a = char(z); 
Serial.print(a); 
}
}

if (mySerial.available())
{

x = "";

while(mySerial.available())
{
delay(1);
char c = mySerial.read();
x += c;
}

}

// well we both know serious effects your sketch // might face for utilizing too much Strings

This is my current program right now

 #include <SoftwareSerial.h>
 #include <EEPROM.h>

SoftwareSerial mySerial(9, 10);
String password = "STI";
String textMessage;
String x;
char a;


void setup()
{
  mySerial.begin(9600);   // Setting the baud rate of GSM Module  
  Serial.begin(9600);    // Setting the baud rate of Serial Monitor (Arduino)
  delay(5000);
 Serial.println("SIM900 ready...");
SendMessage();
reads();

}


void loop()
{
  textMessage="";
  if(mySerial.available()>0){
  textMessage = mySerial.readString();
  
  delay(10);
  
  if(textMessage.length()>0)
  {
  textMessage=textMessage.substring(textMessage.indexOf("+CMT"));
  textMessage=textMessage.substring(textMessage.indexOf("\n"));
  textMessage.replace("\n","");
  Serial.println(textMessage);
 }
 }
 
while(textMessage.indexOf(password + " SET")>=0){
if (mySerial.available() > 0){
    password = mySerial.readString();
    delay(10);
  
if(password.length()>0){
password = password.substring(password.indexOf("+CMT"));
password = password.substring(password.indexOf("\n"));
password.replace("\n","");
Serial.println(password);
storePw();
reads();

   }


}

}

   if(textMessage.indexOf(password + " ON")>=0){
    Serial.println("LED set to ON");  
    textMessage = "";   
  }

            
}


 void SendMessage()
{
  mySerial.println("AT+CMGF=1");    //Sets the GSM Module in Text Mode
  delay(1000);  // Delay of 1000 milli seconds or 1 second
  mySerial.println("AT+CMGS=\"+639290584072\"\r"); // Replace x with mobile number
  delay(1000);
  mySerial.println("The system is ready");// The SMS text you want to send
  delay(100);
   mySerial.println((char)26);// ASCII code of CTRL+Z
  delay(1000);
}

void reads(){
  for(int i=0; i<password.length(); i++){
  byte z = EEPROM.read(i);
 
a = char(z); 
Serial.print(a); 

}

Serial.println("");
}

void storePw() {
 
for(int i=0; i<password.length(); i++){
  EEPROM.update(i, password[i]);
}
}

Looks like a cross post of: Help me about EEPROM and GSM Module notice me please - #3 by jsteer - Project Guidance - Arduino Forum