Update Database Relations