Updates the properties because of heigharchies