db and layout change