update layout for