Adding update method for dataservice.js which maps to UpdateEntity in CrudController, Stringifying JSON data before send

Adding update method for dataservice.js which maps to UpdateEntity in CrudController, Stringifying JSON data before send to fix JSON data deserialize to entity returns null issue at server.