select_for_update considered harmful

I'm open to other options.

All tests pass and I manually confirmed that I can edit profile units. If you want to test as well, don't use sqlite.