update layout properties