migrate models namespace