Update for hash