update runs only once

hi this is my code and it runs only once in update please help
void Update () {

		if (transform.position.x == 25.0f  && transform.position.y==0.0f  ) 
			Debug.Log ("hi");
		
		
		
	}

Is the “If” being fulfilled? , try to put the Debug.Log outside of the “if” to check where is the problem