update database design