Update DB structures