update plugin and remove unused plugins