Update code and add plot PDF