added function for updating wordpress plugins