db design update