added git update functionality