updating history section