Update Database Context