update db and UI