plan update bug fix