update function signature.