before changing database structure