update total.json and main.ls