change pupa invocation