changes model dependencies to new style in hn example