update files and add in parallel functionality