udate the lib from Qi Project.