update the properties method