Update string to integer(my version)