Use setProperties to mass set