update layout file