Create or update a plugin config

Creates a plugin config with the specified ID, or updates it if it already exists.