fixes type parameter that is passed to representationController.updateData