Continue with the editing process
Optimized some of the functions when updating the canvas