my unity says that there is mistake

i have this script but it dont works:

function update()
{
   if (Input.GetKey("w"))
   {
      audio.Play();
   }
}

and thanx for any help

Capital U in Update()