Adding update command to rakefile
Making update command more robust
Making update command pull and push at the same time