class BareMetalRemovalUpdater {

    public void updateConfigurationItem(final Connection conn, final String category, final String instance, final String component, final String name, final String value) {
        try (PreparedStatement preparedStatement = conn.prepareStatement(UPDATE_CONFIGURATION_ITEM)) {
            preparedStatement.setString(1, value);
            preparedStatement.setString(2, category);
            preparedStatement.setString(3, instance);
            preparedStatement.setString(4, component);
            preparedStatement.setString(5, name);
            preparedStatement.executeUpdate();
        } catch (final SQLException e) {
            logger.error("Caught exception while updating values: " + e.getMessage());
            throw new CloudRuntimeException(e);
        }
    }

}