fix view update.