added git check updates functionality