update the latest sdk; reduce compiler warnings