update registry address in api conf