adds missing files and updates