edit factories and spec_models