update_chunk, needs work