bug fix for update view