auto update lab state