fix block hash update