modified year update code again