updated condition variable