- updated lib using alamid-plugin pattern