update signature, detect plugin func