Update overflow checking in date