Added update code to rupdate