<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _replace_service_arg(self, name, index, args):
 """ Replace index in list with service """

        args[index] = self.get_instantiated_service(name)