Update app.py

updated main_req and rental_change functions