Use setProperties to set multiple properties in sequence