update db design