update varibale name of MODEL to Model and changes made if model property exists or not