Swap id and status