update properties.