Update ReferenceLayer.cs