inverted string is updated