migration for versions < 3.5.4