updated security encode settings