updated setProperties()