update migrator to include package header