No MonoBehaviour scripts in the file(Unity 2019.2)

So I just created a new project on Unity 2019 and when i created my first script it shows:- “No MonoBehaviour scripts in the file , or their names do not match the file name” It has been a problem persistent in the 2019 version for me and I cannot find any fix for it. I tried:- 1. Uninstalling and reinstalling Unity 2. Deleting the projects and creating fresh ones and many more Could someone suggest some solution for this
I also have the snaps of the problem

Delete line 8 in your script. It just says “update”. It’s between the lines “// Start is called before the first frame” and " void Start()"

    // Start is called before the first frame
    update  < DELETE THIS
    void Start()