upon completion update history and top scorers database tables