update metaclass usage for base models