apt-get update first and run server at the end in bootstrap script