set dirty flag in make_chunk and update_chunk