update list
delete unessesary code from class