fixed updatehealth and alot of other things