Added git pull in the code fot automatic update