unity does not whant to run my script

public Light mylight;

void update () {
	if (Input.GetKey ("space")) {
		mylight.enabled = true;
	} else {
		mylight.enabled = false;

I wrote this script but when i press space it does not activate the light. i found it on this video Live Training 7th October 2014 - Coding in Unity for the Absolute Beginner.

Update, not update.

Case-sensitivity matters.