fix hash update failure