Added update to the make canvas work