updated yearlyp calculation