Updating canvas prototype