update nsstring to html model