Implement DirectoriesController#update.

Current spec status: 275 examples, 0 failures in 2.52 seconds.