Fix object usage in queueStateUpdate()