update string protection