update layout style