upgrade and deleted unused plugins.