migrate old generic views