Began implementing threading for purge and update