Makes handle_records and tweets update in scope with http request