Update logic.s