updated analyze spec