fix updating health