onupdate pull changes

When pull is called and there is a onupdate.sh script, it will be
allways requested to be called but with a 0 if there was no pull or 1 if
there was