Migrate instances table to real-world usage