updating generic persistence classes