fix #626 bulk update add doc as upsert support