Is it just the image not displaying correctly, or is the text on the HP bar not updating as well? If its just the bar, it could be the image isn't set properly.
The Image component (the Unity UI one) needs to be set to Filled if you're changing the fill amount. By default I think this is set to Simple.