update scene and added offset for input trajectory