check if the gameObject exists before updating it