How can you make a 2D object move based on rotation, and rotate while moving?

Basically, I have a missile-like object that I’d like to rotate while moving. I know how to make it move based off of rotation initially, but that only works in a straight line, and I would like to have it reorientate and adjust itself while in motion. I already have it rotate and move but the mid-flight rotation doesn’t seem to affect how it moves at all.

void Update()
{
        Vector2 direction = player.transform.position - transform.position;
        float angle = Mathf.Atan2(direction.y, direction.x) * Mathf.Rad2Deg;
        Quaternion rotation = Quaternion.AngleAxis(angle, Vector3.forward);
        transform.rotation = Quaternion.Slerp(transform.rotation, rotation, rotateSpeed);    
        transform.Translate(transform.right * Time.deltaTime * speed);
}

Nevermind, the line rb.velocity = transform.right * speed; works great. Sorry!