update file advanced string