now updates will happend on the basis of hashes