add plugin dependancies to plugin map