Update README with docs
update plugin to support trigger function