update lib and add baidu platform

add baidu platform and update lib