Change setValues to setProperties
Merge pull request #2265 from elemoine/setproperties

Change setValues to setProperties