setting properties is better as they are marked as dirty and updated from the current versions later