Database layout update