select updated for year and month