By installing a higher wattage lamp, you run the risk of over-rating the wiring and other electrical components inside your headlight, which is a fire hazard. Ken's advice is good--but check for excessive temperature on the entire light.
Electrical devices are generally over-engineered in terms of the wiring in order to provide a safety factor, but it's a question of how much. It could be a little or a lot.