update the properties