when updating a plugin call it's upgrade method