Added clearing to the update hashs set