Updated canvas with logic