[frontend] added script to updated boards statistics everytime a new discussion is created.