Updating the properties of layout elements