no error but not working

I got a dieing script and in console there is no error
this is in c#

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20

using UnityEngine;
using System.Collections;
public class die : MonoBehaviour {
   void update ()
   {
      if (transform.position.y < -5.64533)
         transform.position = new Vector3(0, 0 , 0);
      transform.rotation = new Quaternion(0 , 0 , 0 , 0);
   }
}
}

in console their are no errors

but when I play and I go below -5.64533 they don’t die

here are the cowards for the player

x 0 y -27.49593 z 0

I press on my player graphics reset postion and it shows in the inspector y 0 x0 z0 and when I put him at y -27.49593 to put him same with the player he just goes to some ramdom place any way can you help thx

update → Update

And you have not a even number of curly braces. I would think you did not paste the code you have since this should tell an error.