update recommendations.py