update year and quarter