input: Write a python function to update an order's customer name and price in a database.
  assert update_order('Alice', 99.99, 1) == True
  assert update_order('Bob', 49.95, 2) == True
  assert update_order('Charlie', 150.00, 3) == True
output: def update_order(customer_name, price, order_id):
      import sqlite3
      try:
          conn = sqlite3.connect('orders.db')
          cursor = conn.cursor()
          cursor.execute('''
              UPDATE orders
              SET customer_name = ?, price = ?
              WHERE id = ?
          ''', (customer_name, price, order_id))
          conn.commit()
          return cursor.rowcount > 0
      except sqlite3.Error as e:
          print(f"An error occurred: {e}")
          return False
      finally:
          conn.close()