layout update detail view