change line state