Risk analysis of commitment–option contracts with forecast updates