added support to update UI when a year is changed