updated database realations