Using arrow keys to change linear drag of an object

Hi all,
I have just recently started coding in c# on unity and am stuck on this. I need to use the left and right arrow keys to change the linear drag of an object that collides with the object I am working on. I am able to change the drag of the other object when it first collides with this object but I cannot use the arrow keys for this. This is the code I have so far. This is a 2D game by the way so the Rigidbody is 2D and the marblePlayer is a circle not a sphere.

using UnityEngine;
using System.Collections;

public class Platform1 : MonoBehaviour {
	public GameObject marblePlayer;


	public float modifyDrag;
	public float oldDrag;
	private bool ifCollision;
	private float decelartionValue;
	private float newDrag;

	void Start() {
		ifCollision = false;
		decelartionValue = 2.0f;
		 


	}

	void OnCollisionEnter2D(Collision2D collision) {
		oldDrag = collision.rigidbody.drag;

		collision.rigidbody.drag = modifyDrag;
		ifCollision = true;
		
	}
	void OnCollisionExit2D(Collision2D collision) {

		
		collision.rigidbody.drag = oldDrag;
		ifCollision = false;
		
	}
	void update() {
		if (ifCollision==true  Input.GetKey(KeyCode.LeftArrow)) {


			newDrag=marblePlayer.rigidbody.drag * decelartionValue;
			marblePlayer.rigidbody.drag=newDrag;

			



		}

	}
}

so we’re looking at a state change for the marble being hit.

When the first marble hits the other one it becomes “controllable” and the input needs to be handled by that object. The impact handling on the first marble needs only handle the “set the boolean/state/howeverYouWantToHandleIt to true”, the rest is handled by a script on the second marble.

So should I write code for changing the linear drag on the other object not this one? And just to clarify, the object that this script is for is a platform and I want the linear drag to either increase or decrease exponentially for the marble if the collision is true and an arrow key is pressed. The marble is the object with the rigidbody and I have also dragged it into the gameObject slot on the script.