update Repository fields.