How to smooth this moves? Online seems to be lagged.

Options
//Basically the game is a sphere in a 3d terrain. But when online mode the other spheres viewed from my pc are lagged.

using System.Collections;
using System.Collections.Generic;
using UnityEngine;


public class MovingSphere : Photon.MonoBehaviour
{

public float speed = 5.0f;
public float rotationSpeed = 100.0f;

void Update()
{
if (photonView.isMine)
{
float translation = Input.GetAxis("Vertical") * speed;
float rotation = Input.GetAxis("Horizontal") * rotationSpeed;

translation *= Time.deltaTime;
rotation *= Time.deltaTime;

transform.Translate(0, 0, translation);
transform.Rotate(0, rotation, 0);
}
}
}