update layout detail