Created after_save callback for updating rankings that is much more elegant