Generates the update function for a database model.
The update function string to use with mixin.
See Implementation
Generates the update function for a database model.