implemented alterPersistence