modify retry policy