update calling convention