Added comments in update.py
Implemented query in get_marketdata()