update layout changes.