update from trunk when the main method fails