update layout example