Updating connection to  mysql from  pdo page