updated db and UI