Update stringbuf