A couple of days ago I updated elementary OS through the software updater, and after restarting the laptop, the touchpad no longer worked. The mouse would not move from the center of the screen. First, I verified I did not accidentally turn off the touchpad with the hotkey. I was able to get the touchpad to work by running the following commands:

sudo modprobe -r psmouse sudo modprobe psmouse

This allowed me to regain control of the mouse, however, two finger scrolling does not work. I went to the touchpad settings and checked the two finger scroll checkbox, but the change is not saved after exiting settings. Once I open the touchpad menu up again, the two finger scroll checkbox is still unchecked. Finally, the commands above are not persistent after a restart.

Any ideas on how to fix this?