Trouble getting key down to work

I have a script that will build something if the player is near and if he presses a button (The E key on keyboard)

Ive taken the script apart and realized that the problem is entirely on the getting the key down part.

This may be a simple fix, I am still learning. Here is what I have so far… The inRange bool works perfectly however the get key down part does not work at all. I tried reading the documentation and figured this was the best way to do it.

void update ()
{
	if (inRange == true && (Input.GetKeyDown (KeyCode.E))) 
	{
		Debug.Log ("You Pressed E in range");
	}
}

The u in update should be capitalized.