Update md and lua for Chapter M