updated db and ui