My Enemy isn't moving when using this random location Generator script Help!!

using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class EnemyMovement : MonoBehaviour
{
public Transform Enemy;
float xLocation;
float ylocation;

public void Update()
{
          Enemy.transform.position = new Vector2(xLocation, ylocation);

}
public void MoveCharacter()
{
    
   float xLocation = Random.Range(-8,8);
    float ylocation = Random.Range(-4, 4);
    Debug.Log(xLocation);
    Debug.Log(ylocation);
}

}

Everything should be working but you left one thing. You need to call MoveCharacter() inside Update().

 public void Update()
 {
           MoveCharacter(); //You're supposed to add this
           Enemy.transform.position = new Vector2(xLocation, ylocation);
 }