added apt-get update command before wget install to prevent error