Badge updates on layout.html