synchronising repository