input: Write a python function to update and delete records in an SQLite database.
  assert update_record(conn, ('New Name', 'New Data', 1)) is None
  assert delete_record(conn, (1,)) is None
output: def update_record(conn, record):
      sql = ''' UPDATE my_table
                SET name = ?,
                    data = ?
                WHERE id = ?'''
      cur = conn.cursor()
      cur.execute(sql, record)
      conn.commit()
      
  def delete_record(conn, id_tuple):
      sql = ''' DELETE FROM my_table WHERE id = ?'''
      cur = conn.cursor()
      cur.execute(sql, id_tuple)
      conn.commit()