Completed plugin upgrade functionality