update the assetbrowser to the given project

        :param releasetype: the releasetype for the model
        :type releasetype: :data:`djadapter.RELEASETYPES`
        :param project: the project of the assets
        :type project: :class:`djadapter.models.Project`
        :returns: None
        :rtype: None
        :raises: None

def update_asset_browser(self, project, releasetype):
        """update the assetbrowser to the given project

        :param releasetype: the releasetype for the model
        :type releasetype: :data:`djadapter.RELEASETYPES`
        :param project: the project of the assets
        :type project: :class:`djadapter.models.Project`
        :returns: None
        :rtype: None
        :raises: None
        """
        if project is None:
            self.assetbrws.set_model(None)
            return
        assetmodel = self.create_asset_model(project, releasetype)
        self.assetbrws.set_model(assetmodel)