update media db table structure