postgrsql update script added
ability to find departments without parent added to dao