Add update function to replace title with a field.

#3197

This is still a WIP.