update vector of object to list to delete easily