2D Top Down Follow Camera Stuttering

I am making a top down pixel art game and am using a simple follow script for my camera.

void Update()     {         transform.position = new Vector3(target.transform.position.x, target.transform.position.y, transform.position.z);     } 

However i get this weird stuttering effect while moving around: https://gfycat.com/tintedlightheartedcrayfish

Any way to smooth out the camera movement?