modified year update code