Update string and fix errors