Add `added` argument for the replace method

This was missing since the operation both removes and adds objects to
the set. This is passed to the `bulk` or `update` method to ensure
consistent behavior.