added apt-get upgrade step and switched to ubuntu 14.04