def render(self, context, instance, placeholder):
        """
        Update the context with plugin's data
        """
        entries = Entry.published.search(instance.query)
        if instance.number_of_entries:
            entries = entries[:instance.number_of_entries]

        context = super(CMSQueryEntriesPlugin, self).render(
            context, instance, placeholder)
        context['entries'] = entries
        return context
Update the context with plugin's data