History writer writes instruments to database.