Use correct exception and handle updateTitle.

updateTitle is handled by updating the whole document because it doesn't
look like updateTitle is really used and implementing a proper update
with elasticsearch is possible but too complicated to do without testing
and I can't test without being able to cause an updateTitle.

Change-Id: I8560191cf1a4f694d785fb8c7f42b9aa0ef79b30