layout update(generic)