remove methods remove and update records of Todo class
add event to update todo and parseInt to verify the object id