update layout generator