improved sdk to handled all response paramters