update stringparser related code