Update DB structure