add index to karmapoints
add update total before save
fix merge conflicts