header update and hash wip