update api documentation and add $().add api