Parsing error

please help I am very new to game development I have an error it says
Assets/die.cs(6,10): error CS8025: Parsing error

pls help here is the script it is a script so my player can respawn it is written in c sharp

using UnityEngine;
using System.Collections;

public class die : MonoBehaviour {}
void update ()
if(Transform.position.y < -29)
{
transform.position.x = -7.132993;
transform.position.y = -30.82323;
transform.position.z = 0;
transform.rotation.x = 0;
transform.rotation.y = 0;
transform.rotation.z = 0;
}
}

Use this code:

using UnityEngine;

using System.Collections;

public class die : MonoBehaviour {

void update ()
{
	if(transform.position.y < -29) 
	{ 
		transform.position = new Vector3(-7.132993f, -30.82323f , 0); 
		transform.rotation = new Quaternion(0 , 0 , 0 , 0);
	} 
}
}