alter repo factory