Having problems spawning an object via script c#

I’m having problems spawning in an game object via c# scripting.
I’m sill quite new, and therefor I can’t make out what I’ve done wrong.

using UnityEngine;
using System.Collections;

public class EnemySpawn : MonoBehaviour {

	public Rigidbody Tank0;

	void update ()
		if (Input.GetKey(KeyCode.Alpha1))
			Instantiate(Tank0, transform.position, transform.rotation);

Thank you for your time (=

  1. When asking for help, please state what you did, what you were expecting to happen, and what actually happens.

  2. I’m guessing in your case you attached the script above to a gameobject in the scene, expected to Instantiate a tank when you press the 1 key above the keyboard, but nothing happens. No error is generated. Right?

  3. Line 8: update should be Update.