Update karma calculation