Use upsert-like behavior for sequence