remove apt-update
add os dependency
combine file operations