Changed clientupdate flag to use an atomic