update compat class