minor update on popluate
Added some very basic AJAX funcs