Update jinja_filters.py