updating history and fixing utils