update chunk