updated database diagram