main and string update