public void update(Idiom idiom) {
		
		try {
			
			Connection connection = DataSourceUtils.getConnection(dataSource);

			PreparedStatement statement = connection.prepareStatement(
					"UPDATE Idiom SET translated = ? " + 
					"WHERE language= ?");
			
			statement.setString(1, idiom.getLanguage());
			statement.executeUpdate();
			connection.close();
		} catch (SQLException e) {
			e.printStackTrace();
		}
		
	}