update ng architecture