update NSDate fix some BUGs