update apt depences
rm nginx settings
add reinstall support