added git updating python function