update database adapter
add some GUI logic