allow to setProperties to overwrite existing ones