update expect gererator