Update the properties of controls