update layouting