fix the bug of updating the canva