Added functions to update and initialize database (historical data only -- no technical analysis yet)