Added Document class to process values for update queries
Saving any new associated objects on update queries