Replace `status` to `state`