update layout view