Rename queue state to state