changed the update_symbols_table function to accept a list instead of a single symbol