Update value of string