cleanup of database code in read.settings
cleanup add ed data