updated propertycontroller.cs