update_generics fixed