index canvas update