If you encounter problems updating MIKTeX, close all open instances of TeXworks and kill all processes related to it (e.g., pdflatex). Then everything should work as expected.