update layout model