Update string to int