def update_project(self, project_id, name=None, description=None,
                       reference_language=None):
        """
        Updates project settings (name, description, reference language)
        If optional parameters are not sent, their respective fields are not updated.
        """
        kwargs = {}
        if name is not None:
            kwargs['name'] = name
        if description is not None:
            kwargs['description'] = description
        if reference_language is not None:
            kwargs['reference_language'] = reference_language

        data = self._run(
            url_path="projects/update",
            id=project_id,
            **kwargs
        )
        return data['result']['project']['id']