updating generic classes