completed updateState()
mg cf