Update custom code operation method.