update retry function comment