update recursivereverse string