change bson api

Signed-off-by: yayanyang <yayanyang@gmail.com>