updates repository field