update chunk size