update layout config