Added admin initialization and plugin upgrade methods