updates for the database

also, some fixes for lists in the gui