Update Z plugin

Remove unnecessary files
Update to latest upstream