Update gruneisen in anharmonic code