wrote data migration for existing store