update core string class