fix a typo.
batch the points and merge them before sending them to the backend.
add some docs.