input: Write a Python function to update a record in a SQLite database and commit the changes.
  assert update_record('database.db', 'score', 95, 'Alice') == 'Record updated'
  assert update_record('database.db', 'score', 88, 'Bob') == 'Record updated'
  assert update_record('database.db', 'score', 75, 'Charlie') == 'Record updated'
output: def update_record(database, column, value, identifier):
      import sqlite3
      try:
          conn = sqlite3.connect(database)
          cursor = conn.cursor()
          cursor.execute(f"UPDATE records SET {column} = ? WHERE name = ?", (value, identifier))
          conn.commit()
          return 'Record updated'
      except sqlite3.Error as e:
          return f"An error occurred: {e}"
      finally:
          conn.close()