program changes according to the new database structure

I have changes program code according to the new database structure....