updated api to have add and remove points from todo