update todo list & change prototyped accept method