Update DB structure and UI