Adding update code for remote puppet