Udpate layout