add function plugin management