canvas updates blue squares with preview