updated atlas code and forest plot code