updating api docs for sugar
updating api docs for plugs/templates