updating rail loop prefab