adapter: fixed missing conditions in PUT requests