add tax function edit