update gallery when remote clients make commits