FLOE-196: refactored the update model functions

Rather than having separate functions to update the model from the datasource and convert the model, transformations can be provided to the update function itself.