qmail question - about addressbook(All)

I have installed qmail on SuSe linux box with mysql.Qmail is running fine and has no problem.Now I want to develop sonme new features by integrating our ERP with qmail.For that I have to enter more information about employee in Qmail Addressbook.I am attaching screenshot which is describing present addressbook and also mentioning new fields.I can update those field in database but I am not able to display it in Addressbook.I am also able to add fields as shown but can not see those changes on addressbook.Please guide me what to do?

addressbook is the original addressbook view.
Addressbook1 is modified addressbook.Data insterted in Dept. table is not showing.