update tap settting for python