update string sequence to actually provide a valid string sequence from history