model for marking todo as completed or not