Added updating the main display stats in the database