Updating the HUD each frame