updating applet to pull out database info correctly