log numbattles to heroku db