PLS HELP! Im getting errors with my code and i dont what to do to fix them

using UnityEngine;
using System.Collections;
public class PlayerController : MonoBehaviour
{
    public float speed = 5f;
    private float movement = 0f;
    private Rigidbody2D rigidBody;
    public float jumpSpeed = 8f;

    // Use this for initialization
    void Start()
    {
        rigidBody = GetComponent<Rigidbody2D>();
    }

    // Update is called once per frame
    void Update()
    {
        void Update()
        {
            movement = Input.GetAxis("Horizontal");
            if (movement > 0f)
            {
                rigidBody.velocity = new Vector2(movement * speed, rigidBody.velocity.y);
            }
            else if (movement < 0f)
            {
                rigidBody.velocity = new Vector2(movement * speed, rigidBody.velocity.y);
            }
            else
            {
                rigidBody.velocity = new Vector2(0, rigidBody.velocity.y);
            }
            if (Input.GetButtonDown("Jump"))
            {
                rigidBody.velocity = new Vector2(rigidBody.velocity.x, jumpSpeed);
            }
        }
    }
        movement = Input.GetAxis("Horizontal");
        if (movement > 0f)
        {
            rigidBody.velocity = new Vector2(movement * speed, rigidBody.velocity.y);
        }
        else if (movement < 0f)
        {
            rigidBody.velocity = new Vector2(movement * speed, rigidBody.velocity.y);
        }
        else
        {
            rigidBody.velocity = new Vector2(0, rigidBody.velocity.y);
        }
    }
}

PLS help its greatly appreciated
Below are the errors
CS1022
CS1001
CS1031
CS0116
CS1026
CS8124
CS1003
CS1519

  1. Use code tags, it makes your code much more readable.
  2. Tell us what the actual error you’re getting is.

I have posted the errors but how do i use code tags

ye well you just post the error assignation but what is the actual error which is in the console?
With those ones:

CS1022
CS1001
CS1031
CS0116
CS1026
CS8124
CS1003
CS1519

we wont be able to help you o.O

Errors will have a description, which is usually on point as to the problem and will tell you the specific line number in the code. The line number is obviously important. Go to that line number, and the problem is usually exactly there or within a few lines of it.

No one memorizes error code numbers by the way.

You have a second update method inside of your regular Update method, and all of this code is outside of any method:

movement = Input.GetAxis("Horizontal");
if (movement > 0f)
{
   rigidBody.velocity = new Vector2(movement* speed, rigidBody.velocity.y);
}
else if(movement < 0f) {
   rigidBody.velocity = new Vector2(movement * speed, rigidBody.velocity.y);
}
else
{
   rigidBody.velocity = new Vector2(0, rigidBody.velocity.y);
}

Remove the second Update method and place this code inside the actual Update method.