update function name for nlpt