lib update clean function String