Restart device and update existing python file in RPi

@nishad1092 this is not a state-script.
It is an update-module