update design and create database