the temple was renovated many times because of age or damage by avalanche. in the 17th century, the temple was renovated by the kings of garhwal. after the great 1803 himalayan earthquake, it was rebuilt by the king of jaipur.