clearing old infos befor updating