sha1_chunk_prep update