does this insert the new thing before the old thing and then remove the old thing?

if so I think it would be clearer to me if that was done in two lines so it’s clear what is being removed (but maybe this is common in jq and that’s just me).