optimize User.update_cache to remove extra queries
fixed User.update_cache broken sum and removed tip instantiations