added migration to the new fully updated database structure