updates to update functions on user model and sites model.
added update builder method to mongodb db_driver