add initialise and upgrade methods to plugins, to implement a lifecycle across versions