added support of updating data model from json data