update layout inside