added alex's suggestion for making the ajax update panel. Also fixed the UI.