delete variables and methods useless
delete information useless and update config