updated plugins API documentation