I am afraid you cannot do so using on_conflict. You will need to perform multiple queries inside a transaction.