edit get public string from db