update failure handling.