updates and correctly formats todo