when I click the image don't change

I want to make a clicker game but when i click the image don’t change.

This it the code:

using UnityEngine;
using System.Collections;

public class OnClick : MonoBehaviour
{

public UnityEngine.UI.Text pcdisplay;
public int pc = 0;
public int pcperclick = 1;

void update()
{
    pcdisplay.text = "PC: " + pc;
}

public void Clicked()
{
    pc += pcperclick;

}

}

please help me

You have to convert pc to String.

public UnityEngine.UI.Text pcdisplay;
 public int pc = 0;
 public int pcperclick = 1;
string converted; 
 void update()
 {
     converted = pc.toString(); 
     pcdisplay.text = "PC: " + converted;
 }
 public void Clicked()
 {
     pc += pcperclick;
 }

I could be wrong though, and I just wrote that at the top of my head but it’s worth a shot.